|
||||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfhg2a.ReLogoObserver
UserObserver
class UserObserver extends ReLogoObserver
Simulation controller. Sets up the interface and experiment, initiates the simulation and executes every step.
Method Summary | |
---|---|
java.lang.Object
|
drawHistogram()
Display population and amount of food available, by displaying population label and three-bar resource histogram. |
java.lang.Object
|
drawPatchColour()
Display amount of wild cereal available, by colouring each patch on a false colour spectrum. |
java.lang.Object
|
go()
Each epoch, execute activity for all tribes and all food resources on the grid. |
java.lang.Object
|
redrawPatches()
Redraw patches based on user-selected drawing method. |
java.lang.Object
|
setup()
Initialises grid when user clicks setup button. |
Method Detail |
---|
java.lang.Object drawHistogram()
java.lang.Object drawPatchColour()
@Go java.lang.Object go()
java.lang.Object redrawPatches()
@Setup java.lang.Object setup()